package com.travel.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travel.domain.entity.Image;
import com.travel.domain.entity.Scene;
import com.travel.domain.entity.SceneInfo;
import com.travel.domain.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IndexMapper extends BaseMapper<Image> {

    @Select("select * from scene")
    List<Scene> selectAllScene();
    @Select("select * from scene_info where id = #{id}")
    SceneInfo getSceneInfo(Long id);
}
